<?php
class Core_Model_Emailvalidator implements Core_Model_Mainable{
    
    public function main(array $variables = null) {
        if (!filter_var($variables['email'], FILTER_VALIDATE_EMAIL)) {
            echo "This ($variables_email) email address is not considered valid.";
            die();
        }
    }

}
